FROM openjdk:8-jre-slim

COPY web/target/*.jar /smart.jar

# 设置容器系统时区
RUN ln -snf /usr/share/zoneinfo/"Asia/Shanghai" /etc/localtime && echo "Asia/Shanghai" > /etc/timezone


CMD nohup sh -c "java -jar /smart.jar"
